package com.wit.service;

import java.util.List;
import org.hibernate.criterion.DetachedCriteria;
import com.wit.po.Company;
import com.wit.po.Subcompany;

public interface SubcompanyService {

	public Subcompany findSubcompanyByIdentifier(String subCompanyId);
	
	public List<Subcompany> findSubcompanyByCondition(DetachedCriteria dc,Integer startRecord, Integer endRecord);
	
	public boolean addSubcompany(Subcompany subcompany);
	
	public boolean deleteSubcompany(Subcompany subcompany);
	
	public boolean modifySubcompany(Subcompany subcompany);
	
	public List<Subcompany> findSubcompanyByCompany(Company company);
	
	public Integer findSubcompanyCount(DetachedCriteria dc);
	
}
